//package com.corpgovernment.organization.util;
//
//
////import com.actionsoft.bpms.api.OpenApiClient;
//
//import com.actionsoft.bpms.api.OpenApiClient;
//
///**
// * @ClassName: OrgUtils
// * @description: OrgUtils
// * @author: zdwang
// * @date: Created in 19:24 2019/7/17
// * @Version: 1.0
// **/
//public class OrgUtils {
//    private final static String SERVER = "http://111.204.231.65:8090/portal/openapi";
//    private final static String ACCESS_KEY = "sasc_sso_api";
//    private final static String SECRET = "sasc_sso_api_!QACSC";
//
//    private OrgUtils() {
//    }
//
//    private volatile static OpenApiClient orgService = new OpenApiClient(SERVER, ACCESS_KEY, SECRET);
//
//    private static OpenApiClient getOrg() {
//        if (null == orgService) {
//            synchronized (OrgUtils.class) {
//                if (null == orgService) {
//                    return new OpenApiClient(SERVER, ACCESS_KEY, SECRET);
//
//                }
//            }
//        }
//        return orgService;
//    }
//
//    public static OpenApiClient getClient(){
//        return getOrg();
//    }
//}